#ifndef APPLYFRIEND_H
#define APPLYFRIEND_H

#include <QDialog>
#include "userdata.h"
namespace Ui {
class ApplyFriend;
}
//申请添加好友
class ApplyFriend : public QDialog
{
    Q_OBJECT

public:
    explicit ApplyFriend(QWidget *parent = nullptr);
    ~ApplyFriend();

    void SetSearchInfo(std::shared_ptr<SearchInfo> si);
protected:
    bool eventFilter(QObject *obj, QEvent *event);
private slots:
    void SlotApplyCancel();
    void SlotApplySure();
private:
    Ui::ApplyFriend *ui;
    std::shared_ptr<SearchInfo> _si;
};

#endif // APPLYFRIEND_H
